package com.ocom.mqsubsidy.business.grantsubsidy.impl;

import com.ocom.mqsubsidy.business.grantsubsidy.GrantSubsidyProductService;

import com.ocom.mqsubsidy.utils.GrantSubsidyProductUitl;
import com.ocom.mqsubsidy.utils.SubsidyProductUitl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GrantSubsidyProductServiceImpl implements GrantSubsidyProductService {

    private final Logger log = LoggerFactory.getLogger(GrantSubsidyProductServiceImpl.class);


    @Autowired
    private GrantSubsidyProductUitl grantSubsidyProductUitl;



    public void handle(String msg) {

        log.info(" subsidy-mq-开始【{}】",msg);


        grantSubsidyProductUitl.subsidySend(msg,15);

        log.info(" subsidy-完成【{}】",msg);
    }
}
